package com.example.frn.service;

import com.example.frn.entity.Maker;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MakerService {
    boolean save(Maker maker);
    boolean updateById(Maker maker);
    boolean removeById(Integer id);
    Maker getById(Integer id);
    List<Maker> list(String name);
    PageInfo<Maker> page(Integer pageNum,Integer pageSize,String name);
}
